package com.zy.springaop;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan("com.zy.springaop")
public class config {
    public UserService userService(){
        return new UserService();
    }
}
